package com.bdqn.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Semester entity. @author MyEclipse Persistence Tools
 */

public class Semester implements java.io.Serializable {

	// Fields

	private Integer semesterId;
	private String semesterName;
	private String description;
	private Set subjects = new HashSet(0);

	// Constructors

	/** default constructor */
	public Semester() {
	}

	/** minimal constructor */
	public Semester(String semesterName) {
		this.semesterName = semesterName;
	}

	/** full constructor */
	public Semester(String semesterName, String description, Set subjects) {
		this.semesterName = semesterName;
		this.description = description;
		this.subjects = subjects;
	}

	// Property accessors

	public Integer getSemesterId() {
		return this.semesterId;
	}

	public void setSemesterId(Integer semesterId) {
		this.semesterId = semesterId;
	}

	public String getSemesterName() {
		return this.semesterName;
	}

	public void setSemesterName(String semesterName) {
		this.semesterName = semesterName;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Set getSubjects() {
		return this.subjects;
	}

	public void setSubjects(Set subjects) {
		this.subjects = subjects;
	}

}